(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{651:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.snakeToKebab=t.camelToKebab=void 0;var o,r=(o=n(652))&&o.__esModule?o:{default:o};const l=(0,r.default)(/[A-Z]/,(e=>"-".concat(e.toLowerCase())));t.camelToKebab=l;const c=(0,r.default)(/_/,(()=>"-"));t.snakeToKebab=c},652:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){const n=RegExp(e,"g");return e=>{if("string"!=typeof e)throw new TypeError("expected an argument of type string, but got ".concat(typeof styleObj));return e.match(n)?e.replace(n,t):e}};t.default=o},653:function(e,t,n){var content=n(662);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(20).default)("3fe36f5c",content,!0,{sourceMap:!1})},654:function(e,t,n){var content=n(664);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(20).default)("932a8f60",content,!0,{sourceMap:!1})},658:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createParser",{enumerable:!0,get:function(){return r.default}}),t.parsers=t.default=void 0;var o=c(n(659)),r=c(n(652)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var desc=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};desc.get||desc.set?Object.defineProperty(t,n,desc):t[n]=e[n]}return t.default=e,t}(n(651));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.parsers=l;var f=o.default;t.default=f,e.exports=o.default,e.exports.createParser=r.default,e.exports.parsers=function(e){for(var i=1;i"".concat(t(n),": ").concat(e[n],";"))).join("\n")};t.default=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661:function(e,t,n){"use strict";n(653)},662:function(e,t,n){var o=n(19)(!1);o.push([e.i,"#overlay{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;z-index:999;opacity:0;-webkit-transition:opacity .3s ease;transition:opacity .3s ease;overflow-y:scroll;-webkit-overflow-scrolling:touch}#overlay.show{opacity:1}.popup-body{position:absolute;min-height:180px;height:auto;background-color:#fff;top:10%;left:50%;-webkit-transform:translate(-50%,-100vh);transform:translate(-50%,-100vh);z-index:20;-webkit-transition:-webkit-transform .25s ease-in-out;transition:-webkit-transform .25s ease-in-out;transition:transform .25s ease-in-out;transition:transform .25s ease-in-out,-webkit-transform .25s ease-in-out}.popup-body.mobile{width:calc(100% - 10px)!important;top:10px}.popup-body.show{-webkit-transform:translate(-50%);transform:translate(-50%)}.closeLPModal{position:absolute;right:-10px;top:-10px;cursor:pointer;z-index:21}.settingsPModal{top:-40px;left:40%;position:absolute;width:32px;padding:10px;font-size:18px}#hl_main_popup{margin-bottom:7px!important}",""]),e.exports=o},663:function(e,t,n){"use strict";n(654)},664:function(e,t,n){var o=n(19)(!1);o.push([e.i,"@media (min-width:768px){.hl_wrapper.nav-shrink .hl_wrapper--inner.page-creator,body{padding-top:0}.hl_page-creator--menu{top:0;left:0;z-index:10}.hl_wrapper{padding-left:0}}@media (min-width:1200px){.hl_wrapper.nav-shrink{padding-left:0!important}}html body .hl_wrapper{overflow:hidden;height:100vh}body{margin:0;-webkit-font-smoothing:antialiased}img{vertical-align:middle;border-style:none}.bg-fixed{z-index:-1}",""]),e.exports=o},667:function(e,t,n){"use strict";n.r(t);n(26),n(24),n(48);var o=n(0),r=n(658),l=n.n(r),c=(n(83),n(2)),d=n(64),f={components:{CBackground:n(351).a},data:function(){return{display:"none",myList:[],styles:{},styleStr:"",hidden:!0}},computed:{element:function(){return this.elements[0]},classList:function(){return Object(c.b)(this.element)},elements:function(){return this.$store.state.popups},background:function(){return this.element?this.element.extra.bgImage:""},popUpHasContent:function(){if(this.element){var e=this.element.child.length>0,t=this.background.value.url.length>0;return e||t}},overlayColor:function(){return this.element?this.element.extra.overlayColor.value:"rgba(0, 0, 0, 0.5)"},deviceIsMobile:function(){return this.$store.getters.deviceIsMobile}},created:function(){this.$bus.$on("open-popup",this.managePopup),this.$bus.$on("show-popup-on-mouseout",this.showPopupOnMouseOut)},beforeDestroy:function(){this.$bus.$off("open-popup",this.managePopup),this.$bus.$off("show-popup-on-mouseout",this.showPopupOnMouseOut)},methods:{show:function(){this.element&&this.element.extra.popupDisabled.value||(this.display="block",this.hidden=!1)},managePopup:function(e,t){(!t||e||this.hidden)&&(e&&this.hidden&&this.popUpHasContent?this.show():e||this.hidden||this.hide())},showPopupOnMouseOut:function(){if(this.element){var e=this.element.extra[d.a.SHOW_POPUP_ON_MOUSEOUT];e&&!e.value||this.managePopup(!0)}},hide:function(){var e=this;this.hidden=!0,this.$bus.$emit("closing-popup"),setTimeout((function(){e.display="none"}),300)}}},h=(n(661),n(1)),m=Object(h.a)(f,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.element?o("div",{class:e.hidden?"hide":"show",style:{display:e.display,"background-color":e.overlayColor},attrs:{id:"overlay"},on:{click:function(t){return t.target!==t.currentTarget?null:e.hide(t)}}},[o("div",{class:["popup-body",e.hidden?"hide":"show",e.element.id,e.classList,e.deviceIsMobile?"mobile":""],attrs:{id:e.element.id}},[o("CBackground",{attrs:{background:e.background}}),e._v(" "),o("div",{staticClass:"closeLPModal",on:{click:e.hide}},[o("img",{attrs:{src:n(660),alt:"close"}})]),e._v(" "),o("CRenderComponentLoop",{staticClass:"drop-zone-draggable",attrs:{element:e.element,elements:e.elements,popup:!0}})],1)]):e._e()}),[],!1,null,null,null).exports,v=n(35),y=(n(59),n(352)),w=o.a.extend({components:{NavMenuLink:y.a},data:function(){return{display:"none",hidden:!0,navMenuId:null,dropdownActive:[]}},computed:{menuItems:function(){if(!this.navMenu)return[];var e=this.navMenu.extra.menuItems;return e.value},funnelSteps:function(){return this.$store.state.funnelSteps},navMenu:function(){return this.navMenuId?this.$store.getters.getElementById(this.navMenuId):null}},created:function(){this.$bus.$on("show-nav-menu-popup",this.showNavMenu)},beforeDestroy:function(){this.$bus.$off("show-nav-menu-popup",this.showNavMenu)},methods:{toggleDropdown:function(e){if(e&&e.childs&&e.childs.length){var t=e.id,n=this.dropdownActive.indexOf(t);this.dropdownActive=-1===n?[].concat(Object(v.a)(this.dropdownActive),[t]):[].concat(Object(v.a)(this.dropdownActive.slice(0,n)),Object(v.a)(this.dropdownActive.slice(n+1)))}},showNavMenu:function(e){var t=this;this.display="block",this.navMenuId=e,setTimeout((function(){t.hidden=!1}),50)},hideNavMenu:function(){this.display="none",this.hidden=!0,this.navMenuId=null}}}),k=Object(h.a)(w,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.hidden?"hide":"show",e.navMenuId],style:{display:e.display},attrs:{id:"nav-menu-popup"}},[n("div",{staticClass:"nav-menu-body"},[n("i",{staticClass:"close-menu fas fa-times",on:{click:function(t){return e.hideNavMenu()}}}),e._v(" "),n("ul",{staticClass:"nav-menu"},e._l(e.menuItems,(function(t){return n("li",{key:t.id,staticClass:"nav-menu-item",class:{dropdown:t.childs.length,active:e.dropdownActive.includes(t.id)}},[n("div",{staticClass:"nav-menu-item-content"},[n("nav-menu-link",{staticClass:"nav-menu-item-title",attrs:{item:t},on:{click:function(t){return e.hideNavMenu()}}}),e._v(" "),t.childs.length?n("span",{staticClass:"nav-menu-item-toggle"},[n("i",{staticClass:"fas fa-angle-down",on:{click:function(n){return e.toggleDropdown(t)}}})]):e._e()],1),e._v(" "),t.childs&&t.childs.length?n("ul",{staticClass:"nav-dropdown-menu"},e._l(t.childs,(function(t){return n("li",{key:t.id,staticClass:"nav-menu-item"},[n("nav-menu-link",{staticClass:"nav-menu-item-title",attrs:{item:t},on:{click:function(t){return e.hideNavMenu()}}})],1)})),0):e._e()])})),0)])])}),[],!1,null,null,null).exports,x=o.a.extend({components:{PopupComponent:m,NavMenuPopup:k},head:function(){if(this.$store.state.version>=3)return{};var style=this.backgroundStyle;return{__dangerouslyDisableSanitizers:["style"],style:[{cssText:style="".concat(style,"\n ").concat(this.$store.state.general.pageStyles," \n :root{ ").concat(l()(this.$store.getters.rootVars)," }"),type:"text/css"}]}},computed:{bgImage:function(){return this.$store.getters.backgroundSettings.bgImage},backgroundStyle:function(){if(this.$store.state.version>=2)return"";var e=this.$store.getters.backgroundSettings,t=e.bgImage,n=e.backgroundColor,o=(t.value||"").url,style="";if(o){var r=o.replace("https://firebasestorage.googleapis.com/v0/b/highlevel-backend.appspot.com/o","https://cdn.msgsndr.com");style+='\n .bg-fixed::before {\n content: "";\n background: url('.concat(r,");\n opacity: ").concat(t.value.opacity||1,";\n bottom: 0;\n top: 0;\n left: 0;\n right: 0;\n position: fixed;\n }")}return n&&n.value&&(style+="\n .bg-fixed {\n bottom: 0;\n top: 0;\n left: 0;\n right: 0;\n position: fixed;\n overflow: auto;\n background-color: ".concat(n.value,";\n }\n ")),style}}}),M=(n(663),Object(h.a)(x,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("div",{staticClass:"bg-fixed",class:e.bgImage.value.options}),e._v(" "),n("Nuxt"),e._v(" "),n("PopupComponent"),e._v(" "),n("NavMenuPopup")],1)}),[],!1,null,null,null));t.default=M.exports}}]);